home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1995 #2 / Amiga Plus CD - 1995 - No. 2.iso / internet / faq / englisch / nn < prev    next >
Encoding:
Text File  |  1995-04-11  |  68.7 KB  |  2,125 lines

  1. Archive-name: usenet/software/nn/faq/part1
  2. Last-modified: $Date: 1994/12/13 23:56:39 $
  3. Version: $Revision: 94.12 $
  4. Posting-Frequency: monthly
  5.  
  6.   This is a living list of frequently asked questions on the Usenet
  7.   news reader NN (No News is Good News).  The point of this is to
  8.   circulate existing information, and avoid rehashing old answers.
  9.   Better to build on top than start again.  Please read this document
  10.   before ever posting to this newsgroup.
  11.  
  12.   This article is posted monthly.  If it has already expired and
  13.   you're not reading this, you can hope that you saved the
  14.   instructions to retrieve the FAQ (see "Where can I get nn") so that
  15.   you can get a copy through other means.
  16.  
  17.   Please do not post an answer when someone posts a frequently asked
  18.   question; rather, email the relevant section of the FAQ to eliminate
  19.   unnecessary traffic in this newsgroup.
  20.  
  21.   This list depends on your comments, additions and fixes: please send
  22.   them to Bill Wohler <wohler@newt.com>.
  23.  
  24.   Copyright 1991, 1992, 1993, 1994 Bill Wohler
  25.  
  26.   Permission to use, copy, distribute, and translate this document for
  27.   any non-commercial purpose is hereby granted, provided that this
  28.   copyright notice appears in all copies.  Commercial distributions
  29.   require prior written consent.
  30.  
  31.   This article is distributed in the hope that it will be useful,
  32.   but WITHOUT ANY WARRANTY; without even the implied warranty of
  33.   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  34.  
  35. ----------------------------------------------------------------------
  36.   
  37. Subject: Table of Contents
  38. From: Bill Wohler <wohler@newt.com>
  39.  
  40. Legend: + new, - deleted, ! changed
  41. _______________
  42.  
  43. 1. Introduction
  44.  
  45.  1.1  Why should I use nn?
  46.  1.2  What is the current version/status of nn?
  47.  1.3  ! Where can I get nn?
  48.  1.4  ! What references exist for nn?
  49.  1.5  How should I report bugs?
  50.  1.6  How can I convert from rn to nn?
  51.  1.7  How can I make life simpler when starting nn for the first time?
  52.  1.8  Is there an X interface to nn?
  53. ______________
  54.  
  55. 2. Building nn
  56.  
  57.  2.1  What machines does nn run on?
  58.  2.2  Is it possible to restrict the groups that users have access to?
  59.  2.3  Unofficial patches for various bugs
  60.  2.4  Can I set up nn securely?
  61. ________________
  62.  
  63. 3. Command Input
  64. _________________
  65.  
  66. 4. Selection Mode
  67.  
  68.  4.1  How come nn doesn't show the Lines count?
  69.  4.2  Why does nn crash when an invalid letter is selected?
  70.  4.3  How do I search for an author in a menu?
  71.  4.4  How do I select all articles in one fell swoop?
  72. ________________________
  73.  
  74. 5. Reading Mode Commands
  75.  
  76.  5.1  How can I see the original article with the current subject?
  77.  5.2  Why do articles without a Lines header appear empty?
  78.  5.3  Can the article viewer/pager be changed?
  79.  5.4  How can I read MIME (multi-media mail) articles?
  80.  5.5  How can I read HTML (World Wide Web, Mosaic) articles?
  81.  5.6  Why am I reading cross-posted articles more than once?
  82. __________________
  83.  
  84. 6. Saving Articles
  85.  
  86.  6.1  How do I save files that I can read later with MH, elm, Mail, ...?
  87.  6.2  What's the best way to save multi-part articles?
  88.  6.3  When saving in +a/b/c keeps you from saving in +a/b.
  89.  6.4  How can I change the default name of a save file?
  90.  6.5  Can I save all unread articles non-interactively into a file?
  91.  6.6  Can I download news to my PC?
  92. _____________________
  93.  
  94. 7. Folder Maintenance
  95.  
  96.  7.1  How can I remove old articles from folders?
  97. _____________________________________
  98.  
  99. 8. Posting and Responding to Articles
  100.  
  101.  8.1  How can I post prewritten articles with nn?
  102.  8.2  How can nn automatically append my signature?
  103.  8.3  How do I eliminate double signatures?
  104.  8.4  Can the signature come from a different file or program?
  105.  8.5  How do I save my posts and replies automatically?
  106.  8.6  ! Can I use my editor to edit posts and replies?
  107.  8.7  Can I use my mailer to send mail?
  108.  8.8  Can nn use aliases when sending mail?
  109.  8.9  How can I set a different Organization name?
  110.  8.10 How can I make mail replies go to a different machine?
  111.  8.11 How can I change how my real name appears?
  112.  8.12 How can I customize my mail headers for mail and posting?
  113. __________________________
  114.  
  115. 9. Jumping to Other Groups
  116.  
  117.  9.1  How can I see which newsgroups are available?
  118.  9.2  + Why do I get *NO*UPDATE* and what can I do about it?
  119. ________________________________
  120.  
  121. 10. Automatic Kill and Selection
  122.  
  123.  10.1  Can non-selected subjects be automatically placed in my kill file?
  124.  10.2  Can I automatically kill articles based on the Newsgroups header?
  125.  10.3  How can I find all articles having to do with a certain topic?
  126.  10.4  Can I select one article in a thread when auto-select-subject set?
  127.  10.5  Can one search for patterns in the entire article from the menu?
  128.  10.6  How come more articles get selected than I expect?
  129.  10.7  Any plans for trn-ish thread following?
  130.  10.8  Can one kill articles based on the number of lines?
  131.  10.9  Why is nn 6.5.0b3 ignoring my kill file?
  132. _______________________________
  133.  
  134. 11. The Format of the Kill File
  135. __________________________
  136.  
  137. 12. Miscellaneous Commands
  138.  
  139.  12.1  Can I choose newsgroups as I do articles, ie. with a menu?
  140.  12.2  How do I unsubscribe to all groups?
  141.  12.3  How can I get nn to stop adding new newsgroups?
  142. __________________
  143.  
  144. 13. The Init Files
  145.  
  146.  13.1  How do I customize nn or change nn's behavior?
  147.  13.2  How can nn be used when multiple users share the same login?
  148. _________________________
  149.  
  150. 14. Variables and Options
  151.  
  152.  14.1  ! Setting new-group-action to "ask before adding" doesn't work.
  153. _____________________
  154.  
  155. 15. Macro Definitions
  156.  
  157.  15.1  Is there a library of macros and other nn features?
  158. ________________
  159.  
  160. 16. Key Mappings
  161. __________________
  162.  
  163. 17. Command Groups
  164. _______________________________
  165.  
  166. 18. Group Presentation Sequence
  167. ____________
  168.  
  169. 19. NN Maintenance & nnmaster
  170.  
  171.  19.1  Why does nnmaster stop collecting articles at the "junk" group?
  172.  19.2  How do I cope with "Incomplete MASTER file"?
  173.  19.3  Why isn't nnmaster working?
  174.  19.4  Why did nnmaster stop working?
  175.  19.5  Why do I get ".../MASTER not found"?
  176.  19.6  Why do I get "cannot open 'x' file"
  177.  19.7  Why do I get "Lost connection to server foobar"
  178.  19.8  Why doesn't nn display messages when not using NNTP?
  179.  19.9  Why do I get "Notice: no news has arrived for the last n hours"?
  180.  19.10 How can I fix a "Master/GROUPS conflict"?
  181. ________
  182.  
  183. Appendix
  184.  
  185.  ! Glossary & Acknowledgments
  186.  pack_date.c
  187.  news.c
  188.  nn-use-mh
  189.  ! nn_elm
  190.  nnalias
  191.  lynxify
  192.  
  193. ------------------------------
  194.   
  195. Subject: Viewing This Article
  196. From: Bill Wohler <wohler@newt.com>
  197.  
  198.   To skip to a particular question with Subject or number xx, use
  199.   "/^S.*xx" with most pagers.  In GNU Emacs type "M-C-s ^S.*xx", (or
  200.   C-r to search backwards), followed by ESC to end the search.
  201.  
  202.   To skip to new or changed questions, use "/^S.*[!+]" with most pagers and
  203.   "M-C-s ^S.*[!+]" in GNU Emacs.
  204.  
  205.   This article is in digest format.  nn may have already broken this
  206.   message into separate articles; if not, then type "G %".  In rn, use
  207.   ^G to skip sections.
  208.  
  209.   This article is treated as an outline when edited by GNU Emacs.  Run
  210.   "M-x describe-mode" to see available outline-mode commands.  Useful
  211.   commands are "M-x hide-body",  "C-c C-s" (show-subtree) and "M-x
  212.   show-all"
  213.  
  214.   Check out the hypertext version at Ohio State (see "What references
  215.   exist for nn?").  Files available by ftp, man pages, and other Web
  216.   pages, as well as cross-references like the one in this paragraph
  217.   are just a click away.
  218.  
  219.   Numbers in square brackets denote the month and year of the last
  220.   update.
  221.  
  222.   If you should need the Internet address, use nslookup or dig if you
  223.   have them, or send mail to dns@grasp.insa-lyon.fr with "help" for
  224.   a Subject.
  225.  
  226. ------------------------------
  227.  
  228. Subject: 1. ***** Introduction *****
  229. From: Bill Wohler <wohler@newt.com>
  230.  
  231. ------------------------------
  232.  
  233. Subject: 1.1 Why should I use nn?
  234. From: Kim Storm <storm@olicom.dk>
  235.  
  236.   nn is a menu based (point and shoot) netnews reader with a complete
  237.   set of features to satisfy both the expert and the novice user.  Since
  238.   its first release in Denmark in 1984 (!), in Europe in 1988, and the
  239.   global release in June 1989, it has replaced rn and other well-known
  240.   news readers at many sites.
  241.  
  242.   Some of the key features of nn are:
  243.  
  244.   * Menu-based article selection prior to reading the articles with the
  245.     articles sorted according to subject and posting time.
  246.  
  247.     This significantly reduces the time spent on news reading.  No
  248.     keystrokes are wasted on articles you don't want to read, and only
  249.     the articles selected on the menu will be read.
  250.  
  251.   * Release 6.4 uses standard .newsrc, and can leave individual
  252.     articles unread.
  253.  
  254.   * Digests are automatically split and presented as ordinary articles!
  255.     You can transparently save and respond to individual sub-articles.
  256.  
  257.   * Full folder support: read, save, and delete individual articles.
  258.  
  259.   * Online help and manual.
  260.  
  261.   * Built-in unshar and patch functions.
  262.   * Built-in uudecode function which will automatically unpack,
  263.     concatenate, and decode multi-part postings.
  264.  
  265.   * Easy remapping of keys with advanced macro definition features.
  266.  
  267.   * Automatic kill & selection of articles based on subject or author.
  268.  
  269.   * User specified presentation sequence of news groups based on the
  270.     news group hierarchy.
  271.  
  272.   * Whole classes of news groups can easily be unsubscribed
  273.     permanently, e.g. talk.all and all.politics
  274.  
  275.   * Related groups can be merged and presented as a single group, e.g.
  276.     comp.emacs and all gnu.emacs groups.
  277.  
  278.   * Blindingly fast 'search for subject'.  On my Texas S1500 system, nn
  279.     uses less than 20 seconds to find all articles on a specific
  280.     subject among 64000 articles in all groups!
  281.  
  282.   * News collection and presentation is extremely fast, because nn uses
  283.     its own database on top of the standard news system.
  284.  
  285.   * In a distributed environment, the database can be shared among all
  286.     hosts on the network.  Only one daemon is needed on the news server
  287.     for all hosts.  This works in a heterogeneous environment as well.
  288.  
  289.   * NNTP is also supported (using a local database for speed).
  290.  
  291.   Because of the database, nn starts almost equally fast (in a few
  292.   seconds), no matter whether you have 100 or 10000 unread articles!
  293.   The database takes up some disk space, but dramatically improves speed
  294.   and functionality.  The amount of disk space consumed is approx. 1Mb
  295.   per 10000 articles.
  296.  
  297. From: Nancy McGough <nancym@ii.com> 
  298.  
  299.   Here's a comparison between nn and trn. [11.94]
  300.  
  301.   Notation
  302.     + is an advantage
  303.     o is neutral
  304.     - is a disadvantage
  305.     ? is something I don't know about
  306.  
  307.   nn 6.4.16
  308.     + Easier macro language.
  309.     + More powerful kill/select abilities (ANDing, ORing).
  310.     + Faster auto killing/selecting.
  311.     + Can split/unsplit digests.
  312.     + Dedicated newsgroup (news.software.nn) for discussion.
  313.     + l command for flagging (with =) and leaving an article to deal
  314.       with it later (this is better than trn's M command which just
  315.       returns an article as unread next time).
  316.     + Can easily mail a copy of a followup article to the author
  317.       you're responding to.
  318.     + Can easily mail articles you read/post to other addresses.
  319.     + Incredibly customizable.
  320.     + Can easily view and organize your folders (both mail and news) with nn.
  321.     + Can merge newsgroups.
  322.     + Can search all (or some) newsgroups for subject and/or author.
  323.     + Can have spell check one of the options before posting/mailing article.
  324.     + Can set default save directory for each newsgroup that is not
  325.       necessarily.  one of the interpreted strings (e.g., my default
  326.       save dir for comp.editors is +vi)
  327.     - Not very active participation by developer(s) in newsgroup
  328.       (news.software.nn) .
  329.     - Can only search on subject and/or author; also author is the
  330.       "real name" .  rather than full From line
  331.     - Macro names limited to 2 characters (as far as I can tell).
  332.     ? More powerful macro language.
  333.  
  334.   trn 3.0
  335.     + Newsgroup selection level is friendlier than nn's A/B
  336.       (advance/back) commands (I like being able to see the list of
  337.       newsgroups that I say no to).
  338.     + True threading (uses References line).
  339.     + Graphic view of thread ("article tree").
  340.     + Uses NOV (new overview database) for fast searching of headers;
  341.       also NOV is used by other newsreaders (eventually nn too).
  342.     + Can search body of article.
  343.     + Can search full header.
  344.     + Can reorder subscription list from within TRN (using m).
  345.     + Can have macro names longer than 2 characters.
  346.     + Active participation by trn developer in newsgroup
  347.       (news.software.readers).
  348.     + Can reverse the sort order (e.g., most recent at the top).
  349.     + Intrinsic commands for going to root/leaf of a thread (in nn you
  350.       need to do this with macros or a sequence of commands)
  351.     + Intrinsic command for auto-selecting your articles.
  352.     + Easy to change attribution line to whatever you want (using ATTRIBUTION).
  353.     + When you post you get lots of blank headers (e.g., Followup-To)
  354.       put into your editor.
  355.     o Newsgroup (news.software.readers) for discussion but also
  356.       contains lots of non-TRN discussion.
  357.     - Harder macro language.
  358.  
  359. ------------------------------
  360.   
  361. Subject: 1.2 What is the current version/status of nn?
  362. From: Bill Wohler <wohler@newt.com>
  363.  
  364.   The current version of nn is 6.4.18.
  365.  
  366.   Note: The development of nn has been taken over by Peter Wemm
  367.   <peter@dialix.oz.au>.  Bug reports, fixes and suggestions should be
  368.   sent to nn-bugs@dkuug.dk.
  369.  
  370.   Version 6.5.0 is in the final stages of beta testing.  It will
  371.   include many bug fixes, full NOV capability, a means of
  372.   automatically killing threads of unread articles as well as
  373.   automatically selecting subjects to articles that you've read, a
  374.   mouse sensitive xterm interface, and the program nnsub to subscribe
  375.   to newsgroups.
  376.  
  377.   The adventurous are invited to obtain the beta version.  Please get
  378.   the files README.FIRST and README.b3 in the beta directory, and
  379.   report any bugs to Peter (see also "Where can I get nn").  [10.93]
  380.  
  381. ------------------------------
  382.   
  383. Subject: 1.3 ! Where can I get nn?
  384. From: Bill Wohler <wohler@newt.com>
  385.  
  386.   The current master site for nn is ftp.uwa.edu.au.
  387.  
  388.   If you should need the Internet address, use nslookup or dig if you
  389.   have them, or send mail to dns@grasp.insa-lyon.fr with "help" for
  390.   a Subject.
  391.  
  392.   via anonymous ftp:                            [5.94]
  393.     ftp://ftp.uwa.edu.au/pub/nn/nn-6.4.18.tar.Z                590k
  394.     ftp://ftp.uwa.edu.au/pub/nn/nn-6.4.18.tar.gz            405k
  395.     ftp://ftp.uwa.edu.au/pub/nn/beta/nn-6.5.0.b3.tar.gz            515k
  396.     ftp://nexus.yorku.ca/pub/linux/sources/news/nn-6.4.18.tar.Z
  397.     ftp://ftp.uu.net/networking/news/readers/nn/nn-6.4.18.tar.Z
  398.     ftp://qiclab.scn.rain.com/pub/news/nn-6.4.18.tar.Z
  399.     ftp://gumby.dsd.trw.com/pub/news/newsreaders/unix/nn-6.4.18.tar.Z
  400.     ftp://mcsun.eu.net/news/readers/nn/nn-6.4.18.tar.Z
  401.     ftp://sun.rz.tu-clausthal.de/pub/unix/network/apps/news/nn/nn-6.4.18.tar.Z
  402.     ftp://ftp.cs.ruu.nl/NN-6.4/nn-6.4.18.tar.gz
  403.     ftp://chalmers.se/pub/unix/nn/nn6.4.18.tar.Z
  404.     ftp://ftp.luth.se/pub/infosystems/news/readers/nn/nn-6.4.18.tar.Z
  405.     ftp://grasp1.univ-lyon1.fr/pub/nfs-mounted/ftp.univ-lyon1.fr/mirrors/unix/nn/nn-6.4.18.tar.gz
  406.     ftp://ftp.academ.com/pub/nntp1.5/nntp.1.5.12.tar.Z        217k    [12.94]
  407.     ftp://ecs.soton.ac.uk/pub/news/nntp-1.5.11.tar.Z        210k    [12.94]
  408.  
  409.   via mail:
  410.     Send a note to ftpmail@decwrl.dec.com whose body contains "help"
  411.     on a line by itself get information on getting ftp sources by
  412.     mail.
  413.  
  414.     Send a note to mail-server@nluug.nl with a body containing one or
  415.     both of the following as desired:
  416.  
  417.       send news/nn/nn6.4.16.tar.Z                <- old
  418.       send news/nntp/nntp.1.5.11.tar.Z
  419.  
  420.   mini-inews:
  421.  
  422.     As well as bringing mini-inews up to date, modifications have been
  423.     made to remove the need for MINI_INEWS_HEADERS when setting up nn.
  424.     Mini-inews will now create whatever headers are required including
  425.     if desired, a Lines header or an incremental Message-ID numbering
  426.     capability. --Jim Jagielski <jim@jagubox.gsfc.nasa.gov>
  427.  
  428.     ftp://jagubox.gsfc.nasa.gov/pub/misc/NN-6.5.patches.tar.gz        43k
  429.  
  430. ------------------------------
  431.   
  432. Subject: 1.4 ! What references exist for nn?
  433. From: Bill Wohler <wohler@newt.com>
  434.  
  435.   Book:
  436.     The Whole Internet User's Guide & Catalog (2nd Ed), Chapter 8.  Ed Krol.
  437.     ISBN 1-56592-063-5.  $24.95.  543 pages.
  438.     O'Reilly & Associates, Inc.
  439.     Book Orders:
  440.       US and Canada: 800-998-9938.  Fax: 707-829-0104.
  441.  
  442.     To get a list of non-US distributors, send a note to
  443.     nuts@ora.com or call +1-707-829-0515.
  444.  
  445.   On-line Documents:
  446.     gopher://unlhelp.unl.edu:2001/11/18menu/03menu/09menu        [8.94]
  447.   
  448.     http://www.cis.ohio-state.edu/hypertext/faq/usenet/usenet/software/nn/quick-start/faq.html [12.94]
  449.     ftp://ftp.halcyon.com/pub/ii/Internet/NN/quick_start        [12.94]
  450.   
  451.     ftp://ftp.ii.com/pub/ii/Internet/NN                    [11.94]
  452.  
  453.   Papers:
  454.     "Intro to nn"
  455.     ftp://ftp.cso.uiuc.edu/doc/net/nn.<fmt>
  456.     where <fmt> is one from doc(16k), ps(91k), tex(21k), jpn, and hqx.
  457.  
  458.     "A Short Guide to nn"
  459.     ftp://ftp.unl.edu/pub/crc/docs/UNLINFO.GUIDE/UNLINFO.06.nn.<fmt>
  460.     where <fmt> is one from txt(57k), ps(1.17M), rtf(68k) and hqx(65k). [8.94]
  461.     
  462.     "nn Helpsheets"
  463.     ftp://ftp.unl.edu/pub/crc/docs/UNLINFO.HELPSHEETS/nn.<fmt>
  464.     where <fmt> is one from 1.ps(636k), 2.ps(549k), hqx(209k).        [8.94]
  465.  
  466.   Usenet:
  467.     news.software.nn
  468.  
  469.   Mailing list:
  470.     A mailing list for nn developers is nn@uniwa.uwa.edu.au.  To join,
  471.     please send a message to nn-request@uniwa.uwa.edu.au.
  472.  
  473.   nn archives:
  474.   
  475.   This document:
  476.     via WWW
  477.      http://www.cis.ohio-state.edu/hypertext/faq/usenet/usenet/software/nn/faq/part1 [12.94]
  478.   
  479.     via anonymous ftp:
  480.       ftp://rtfm.mit.edu/pub/usenet/news.answers/usenet/software/nn/faq/part1
  481.       [12.94]
  482.       ftp://ftp.uu.net/archive/usenet/news.answers/usenet/software/nn/faq/part1.Z
  483.       [12.94]
  484.       ftp://ftp.cs.ruu.nl/pub/NEWS.ANSWERS/usenet/software/nn/faq/part1
  485.       [12.94]
  486.  
  487.     via mail:
  488.       Each of the following addresses is following by commands which
  489.       should be included as the body of the message.
  490.  
  491.       mail-server@rtfm.mit.edu                        [12.94]
  492.         send /usenet/news.answers/usenet/software/nn/faq/part1
  493.  
  494.       mail-server@cs.ruu.nl                        [12.94]
  495.     send /pub/NEWS.ANSWERS/usenet/software/nn/faq/part1
  496.  
  497.   Signature and Finger FAQ:                        [11.94]
  498.     via WWW:
  499.       http://www.cis.ohio-state.edu/hypertext/faq/usenet/signature_finger_faq/faq.html
  500.  
  501.     via anonymous ftp:
  502.       ftp://rtfm.mit.edu/pub/usenet/news.answers/signature_finger_faq
  503.  
  504.     via mail (see above for usage):
  505.       mail-server@rtfm.mit.edu
  506.         send /usenet/news.answers/signature_finger_faq
  507.  
  508. ------------------------------
  509.   
  510. Subject: 1.5 How should I report bugs?
  511. From: Bill Wohler <wohler@newt.com>
  512.  
  513.   Send them to nn-bugs@dkuug.dk.  [10.93]
  514.  
  515. ------------------------------
  516.   
  517. Subject: 1.6 How can I convert from rn to nn?
  518. From: Ian Taylor <ian@airs.com>
  519.  
  520.   Why bother?  On our system some people use nn and some people use
  521.   rn.  In fact, since they both use the same .newsrc format, it is
  522.   perfectly possible to use both.
  523.  
  524. ------------------------------
  525.   
  526. Subject: 1.7 How can I make life simpler when starting nn for the first time?
  527. From: Peter Wemm <peter@dialix.oz.au>
  528.  
  529.   Use nnsub and eep.  See the enclosed documentation to see which you
  530.   prefer. [note: only available in 6.5.0 beta].  [10.93]
  531.  
  532. From: Bill Wohler <wohler@newt.com>
  533.  
  534.   The standard method is to run:
  535.  
  536.       nngrep -a | sed -e 's/ *$/!/' > .newsrc        # add \ before ! in csh
  537.  
  538.   and then edit .newsrc, replacing the '!'  with a ':' for those
  539.   groups you're interested in. [8.94]
  540.  
  541. From: Joerg Napp <napp@uni-paderborn.de>
  542.  
  543.   I think a nice way is to use the catch-up facility.  Start nn -a0
  544.   and let nn catch up automatically.  After some hours restart nn and
  545.   unsubscribe to uninteresting groups having news articles.  Restart
  546.   nn the following day and continue unsubscribing.
  547.  
  548.   After one week, you have a nice .newsrc.
  549.  
  550. ------------------------------
  551.   
  552. Subject: 1.8 Is there an X interface to nn?
  553. From: Toivo Pedaste <toivo@uniwa.uwa.edu.au>
  554.  
  555.   This is an X version of nn that uses TCL and TK to provide the user
  556.   interface. It adds two separate methods of newsgroup choice (list
  557.   and cascading menus) as well as buttons, menus and selection using
  558.   the mouse, but all the keyboard commands still work as well.
  559.  
  560.   It's still in alpha version, but all the nn functionality is there,
  561.   if not in its final form. Tcl v7 and TK v3 are required to compile
  562.   it. [8.94]
  563.  
  564.   ftp://ftp.uwa.edu.au/pub/nn/contrib/nn-tk.alpha.tar.Z            935k
  565.   
  566.   In nn-6.5.0beta, there is a simple text panel, with highlighting and
  567.   mouse sensitivity within an xterm. [10.93]
  568.  
  569. ------------------------------
  570.  
  571. Subject: 2. ***** Building nn *****
  572. From: Bill Wohler <wohler@newt.com>
  573.  
  574. ------------------------------
  575.  
  576. Subject: 2.1 What machines does nn run on?
  577. From: Bill Wohler <wohler@newt.com>
  578.  
  579.   Please send updates to nn-bugs@dkuug.dk. [10.93]
  580.  
  581.   Operating systems:
  582.  
  583.   3b1 (UNIX-pc) with GCC        SunOS 3
  584.   NeXT 1.0                SunOS 4.0
  585.   AIX 2.2.1                SunOS 4.1 SysV environment
  586.   A/UX 1.1                System V
  587.   4.2 BSD and Ultrix systems        Motorola System V/88 Release 3
  588.   4.3 BSD systems            Texas Instruments System 1500
  589.   dnix 5.2 on DIAB DS90            NCR tower
  590.   dnix 5.3 on DIAB DS90            ULTRIX systems (4.2 based)
  591.   Dynix 3.0 on Symmetry            Mips running riscos 4.0 or greater
  592.   Fortune 32:16                Riscos 4.5 and later
  593.   HPUX (series 300)            Microport UNIX V.2
  594.   HPUX 2.1 (series 800)            Amdahl UTS 2.0
  595.   HPUX 3.0 (series 800)            SCO Xenix 2.2.1 (286) -- terminfo
  596.   HPUX 6.5 or newer (series 300)    SCO Xenix 286 -- termcap
  597.   HPUX 7.0                Xenix386 [termcap version]
  598.   Interactive UNIX on 386        Xenix386 2.3.2 w/development system
  599.   Dynix/PTX on symmetry            Tandy 68000/Xenix 3.2
  600.   Pyramid (and Targon 35)
  601.   SCO UNIX V on 386
  602.   IRIX 3.1/3.2
  603.   Siemens SINIX
  604.  
  605.   Hardware platforms:
  606.  
  607.   3b1 with GCC [no networking]        MIPS processors
  608.   Amdahl 5890 (big iron)        Siemens MX300
  609.   AT&T 3b2                Pyramid (and Targon 35)
  610.   Convex                IBM 6150
  611.   DECstation 3100            Silicon Graphics 4D series
  612.   Gould PN6000                SPARC processors
  613.   HP9000 series 320 and 800 (at least)    80386 based SUNs [have network support]
  614.   Intel 80286 [no networking]        Sequent Symmetry
  615.   Intel 80386 [no networking]        VAX family
  616.   Motorola 68000 family
  617.   Motorola 88000 risc
  618.  
  619. ------------------------------
  620.   
  621. Subject: 2.2 Is it possible to restrict the groups that users have access to?
  622. From: Alexis Rosen <alexis@panix.com>
  623.  
  624.   Create a new group for the people who can read the special groups.
  625.   Call it "privnews", for example. (In /etc/group put the user id of
  626.   each person who's in that group on that group's line.)  Then change
  627.   the group of the spool directory which contains the restricted
  628.   newsgroup to "privnews" (leaving the owner as news), and set the
  629.   mode to 750.
  630.  
  631. From: Steve Simmons <scs@wotan.iti.org>
  632.  
  633.   Note that this only works if you are not using NNTP to read news.
  634.   There is currently no mechanism that will allow this to work with
  635.   NNTP. [1.93]
  636.  
  637. ------------------------------
  638.   
  639. Subject: 2.3 Unofficial patches for various bugs
  640. From: Bill Wohler <wohler@newt.com>
  641.  
  642.   Several bugs have been reported and fixed and the patches are
  643.   available here for those not patient enough to wait until the next
  644.   release.
  645.  
  646.   Remember, these are *unofficial* patches so back them out before
  647.   patching in the next release of nn.  You do not have to strip the
  648.   two leading spaces before these patches.  In fact you can run "patch
  649.   -s -N < this-entire-faq", within the newsreader even!
  650.  
  651. From: Paul Eggert <eggert@twinsun.com>
  652.  
  653.   The patch in Appendix "pack_date.c" fixes NN dateline parsing.
  654.   Also, NN mishandles non-GMT time zones near short month boundaries
  655.   due to NN's, er, somewhat unusual time stamp encoding.  It is
  656.   included in nn version 6.5.0. [10.93]
  657.  
  658. From: Henrik Storner <storner@olicom.dk>
  659.  
  660.   If you want to use NNTP, even if the server is the local host, use
  661.   the patch in Appendix "nntp.c."  [11.94]
  662.  
  663. ------------------------------
  664.   
  665. Subject: 2.4 Can I set up nn securely?
  666. From: Bill Wohler <wohler@newt.com>
  667.  
  668.   Diffs are unfortunately not included, but this is what you can do:
  669.  
  670.   o Set shell-restrictions in the setup file.
  671.   o Set and lock *every* variable which is used to execute commands.
  672.   o Modify the source to avoid display/save/print files above the
  673.     home-directory if shell-restrictions is set (mainly in save.c).
  674.   o Modify the source to avoid changing directories if shell-restrictions
  675.     is set.
  676.   o Modify the source to avoid showing the contents of locked variables.
  677.  
  678.   In particular, the following variables should be locked:
  679.  
  680.   backup-folder-path, backup-suffix, bug-report-address, decode-header-file,
  681.   editor, folder, inews, mail, mail-record, mailer, news-record, newsrc,
  682.   pager, patch-command, printer, record, spell-checker, unshar-header-file
  683.  
  684. ------------------------------
  685.  
  686. Subject: 3. ***** Command Input *****
  687. From: Bill Wohler <wohler@newt.com>
  688.  
  689. ------------------------------
  690.  
  691. Subject: 4. ***** Selection Mode *****
  692. From: Bill Wohler <wohler@newt.com>
  693.  
  694. ------------------------------
  695.  
  696. Subject: 4.1 How come nn doesn't show the Lines count?
  697. From: Bill Wohler <wohler@newt.com>
  698.  
  699.   Karl Kleinpaste writes:
  700.     C News sites can turn on Lines: header creation (we do here), but
  701.     the default has it turned off.  I wish more would turn it on, as
  702.     several newsreaders put it to use, and it's the most easily
  703.     available metric of article size when showing the user a menu of
  704.     available articles.
  705.  
  706.   Henry Spencer replies:
  707.     We're unenthusiastic about Lines:, which is why it's off by default
  708.     and little-documented.  *The* most easily available metric of
  709.     article size is not line count -- which is often slightly wrong, by
  710.     the way -- but byte count, which is available without even parsing
  711.     the headers.
  712.  
  713.     You can tell C News to add Lines: headers to articles *posted*
  714.     locally, but C News has no provision for adding headers to traffic
  715.     coming in from other sites.  [Specifically, search for the string
  716.     "uncomment" in inews, and uncomment those lines. --bw]
  717.  
  718.   But Paul Eggert <eggert@twinsun.com> and Luc Rooijakkers
  719.   <lwj@cs.kun.nl> provide a solution:
  720.  
  721.     Remember, these are *unofficial* patches so back them out before
  722.     patching in the next release of nn.  You do not have to strip the
  723.     two leading spaces before these patches.  In fact you can run
  724.     "patch -s -N < this-entire-faq", within the newsreader even!  A
  725.     variation of this patch is included in nn version 6.5.0.  See
  726.     Appendix "news.c" [10.93]
  727.  
  728.   Finally, Peter Wemm <peter@dialix.oz.au> says that you'll always get
  729.   the lines header if you run INN.
  730.  
  731. ------------------------------
  732.   
  733. Subject: 4.2 Why does nn crash when an invalid letter is selected?
  734. From: Bill Wohler <wohler@newt.com>
  735.  
  736.   This is fixed in patch 17.  [9.92]
  737.  
  738.   Your terminal modes will be screwed up after such an event, so
  739.   you'll have to type ^J (or LINE-FEED) repeatedly until a prompt is
  740.   seen, and then run
  741.  
  742.     stty -sane^J
  743.  
  744.   or
  745.  
  746.     reset
  747.  
  748. ------------------------------
  749.   
  750. Subject: 4.3 How do I search for an author in a menu?
  751. From: Bill Wohler <wohler@newt.com>
  752.  
  753.   Add the following macro to your init file (~/.nn/init) and invoke
  754.   via '_' (underscore).
  755.  
  756.   # _ does search on sender (as = does a search on subject)
  757.   map menu _ (
  758.     :set select-on-sender
  759.     find input
  760.     :unset select-on-sender
  761.     message
  762.   )
  763.  
  764.   [1.93]
  765.  
  766. ------------------------------
  767.   
  768. Subject: 4.4 How do I select all articles in one fell swoop?
  769. From: Bill Wohler <wohler@newt.com>
  770.  
  771.   Type "=.*" and hit return.  The pattern ".*" matches all subject lines.
  772.  
  773. ------------------------------
  774.  
  775. Subject: 5. ***** Reading Mode Commands *****
  776. From: Bill Wohler <wohler@newt.com>
  777.  
  778. ------------------------------
  779.  
  780. Subject: 5.1 How can I see the original article with the current subject?
  781. From: Bill Wohler <wohler@newt.com>
  782.  
  783.   While reading an article, use "G RET RET RET".
  784.  
  785. ------------------------------
  786.   
  787. Subject: 5.2 Why do articles without a Lines header appear empty?
  788. From: Gary Morris <garym@telesoft.com>
  789.  
  790.   This problem only shows up if you have header-lines set to a string
  791.   that includes "L".  It is suspected that having the line count patch
  792.   sets something that makes nn think there is a Lines header and then
  793.   the header-string is telling it to display the Lines header but
  794.   there isn't one and things get messed up.
  795.  
  796. ------------------------------
  797.   
  798. Subject: 5.3 Can the article viewer/pager be changed?
  799. From: Bill Wohler <wohler@newt.com>
  800.  
  801.   No.  And for good reason.  There are too many commands in nn's pager
  802.   that less, for example, doesn't know anything about.
  803.  
  804. ------------------------------
  805.   
  806. Subject: 5.4 How can I read MIME (multi-media mail) articles?
  807. From: Bill Wohler <wohler@newt.com>
  808.  
  809.   Using metamail, you can do one of the following:
  810.  
  811.   "Print" the message.  Use the "P" command and:
  812.  
  813.     set printer metamail
  814.  
  815.   "save" the message.  Use "s" and specify "|metamail" as a filename.
  816.  
  817.   metamail can be found at:
  818.  
  819.   ftp://thumper.bellcore.com/pub/nsb/mm2.7.tar.Z
  820.  
  821.   [5.94]
  822.  
  823. ------------------------------
  824.   
  825. Subject: 5.5 How can I read HTML (World Wide Web, Mosaic) articles?
  826. From: Bill Wohler <wohler@newt.com>
  827.  
  828.   Add the following to ~/.nn/init.  The "lynxify" script is in the
  829.   Appendix.
  830.  
  831.     map show ^F (
  832.         save-full "|lynxify"
  833.         redraw
  834.     )
  835.  
  836.   When reading the article with HTML references, use C-f.  Note that
  837.   just "ftp://ftp.ii.com/pub/ii" won't be enough; you'd need to see
  838.   something like <A HREF="ftp://ftp.ii.com/pub/ii">Nancy McGough,
  839.   Infinite Ink</A> for lynx to pick it up.
  840.  
  841. ------------------------------
  842.   
  843. Subject: 5.6 Why am I reading cross-posted articles more than once?
  844. From: Peter Wemm <peter@DIALix.oz.au>
  845.  
  846.   If you are using nnmaster and the cross-post detection is broken,
  847.   then something's wrong that I'm not aware of.
  848.  
  849.   If you are using the NOV .overview database, and are not storing the
  850.   full Xref header, then that will cause it. [5.94]
  851.  
  852. From: Richard Todd <rmtodd@servalan.servalan.com>
  853.  
  854.   If you're running INN, edit /usr/lib/news/overview.fmt and uncomment
  855.   the line with 'Xref:full' in it.  If you're running Cnews with the
  856.   NOV patches, you'll have to edit mkov.c (I think) appropriately and
  857.   recompile; the code for putting Xref: in the NOV database is in
  858.   there, just commented out. [5.94]
  859.  
  860. ------------------------------
  861.  
  862. Subject: 6. ***** Saving Articles *****
  863. From: Bill Wohler <wohler@newt.com>
  864.  
  865. ------------------------------
  866.  
  867. Subject: 6.1 How do I save files that I can read later with MH, elm, Mail, ...?
  868. From: Bill Wohler <wohler@newt.com>
  869.  
  870.   MH:
  871.      Save your files with +$F/$N.  For example, if you save message 10
  872.      in news.software.nn in this way, you will create a file called
  873.      ~/News/news/software/nn/10.  If you have a symbolic link from
  874.      ~/Mail/news to ~/News, then you can look at your saved nn
  875.      messages with "scan +news/news/software/nn".
  876.  
  877.   Mail
  878.      Add "set mail-format" to your init file.
  879.  
  880. ------------------------------
  881.   
  882. Subject: 6.2 What's the best way to save multi-part articles?
  883. From: Kim Storm <storm@olicom.dk>
  884.  
  885.   All you have to do is to save the articles from the menu, e.g.
  886.  
  887.     W(rite) +file.* a b c d... <space>
  888.  
  889.   where a b c d... are the articles on the menu you want to save.  You
  890.   can also save the selected articles on the menu with * (only on
  891.   current page) or + (on all menu pages).
  892.  
  893. ------------------------------
  894.   
  895. Subject: 6.3 When saving in +a/b/c keeps you from saving in +a/b.
  896. From: Bill Wohler <wohler@newt.com>, Andrew Swann <swann@imada.ou.dk>
  897.  
  898.   This happens when default-save-file is $F.  Try changing
  899.   default-save-file to $F/$N (my favorite) to get, for example,
  900.   +news/software/nn/1022, or $G to put everything in
  901.   +news.software.nn.  Finally, if you really did want the behavior of
  902.   +$F, a compromise would be to use +$F. (Andrew's favorite) instead
  903.   (one can use anything other than '.').
  904.  
  905. From: Harry Herman <herman@corpane.uucp>
  906.  
  907.   Alternatively, use +$F/$L, to place articles for news.software.nn in
  908.   the file +/news/software/nn/nn.  This has two advantages:
  909.   1) You can later read through the folder "nn" and save some of the
  910.     articles under new folder names having to do with the topic.  For
  911.     example, you might save auto-select topics under +$F/auto-sel,
  912.     that is, +/news/software/nn/auto-sel.
  913.   2) If at a later date, a new newsgroup is added below nn, articles
  914.     can still be saved under that subgroup since +/news/software/nn is
  915.     already a directory, not a folder.
  916.  
  917. ------------------------------
  918.   
  919. Subject: 6.4 How can I change the default name of a save file?  
  920. From: Bill Wohler <wohler@newt.com>
  921.  
  922.   The variable default-save-file controls how files are named.  By
  923.   default, the value of default-save-file is +$F (components of the
  924.   newsgroup become directories, last component is the file name).
  925.   This isn't a good idea (see also "When saving in +a/b/c keeps you
  926.   from saving in +a/b").  However, most sites change that to +$G (file
  927.   has the same name as the newsgroup) in the system init file.  [8.94]
  928.  
  929. From: Sven Guckes <guckes@inf.fu-berlin.de>
  930.  
  931.   You can also set default save files on a per-newsgroup level.  To do
  932.   this, add the default save file to the newsgroup in your sequence
  933.   (in ~/.nn/init).  For example,
  934.  
  935.     news.software.nn        +nn
  936.  
  937.   [8.94]
  938.  
  939. From: Alex Martelli <alex@uqbar.cirfid.unibo.it>
  940.  
  941.   If you don't want to have any default at all, add 
  942.  
  943.     unset suggest-default-save
  944.  
  945.   to ~/.nn/init. [8.94]
  946.  
  947. ------------------------------
  948.   
  949. Subject: 6.5 Can I save all unread articles non-interactively into a file?
  950. From: Bill Wohler <wohler@newt.com>
  951.  
  952.   rn has some options to do this.  See the man page for details. [8.94]
  953.  
  954.   (See also "Can I download news to my PC?").
  955.  
  956. ------------------------------
  957.   
  958. Subject: 6.6 Can I download news to my PC?
  959. From: Bill Wohler <wohler@newt.com>
  960.  
  961.   Henrik Roseno <hero@login.dkuug.dk> writes that
  962.   alt.usenet.offline-reader provides some programs that are designed
  963.   just for this purpose.  Uqwk gathers the articles (into a SOUP or
  964.   BlueWave packet ?), and Yarn is a program that lets you read them
  965.   once you've downloaded them to your PC.  Use archie to find them
  966.   nearby. [8.94]
  967.  
  968. From: Rhys Weatherley <rhys@fit.qut.edu.au>
  969.  
  970.   Get a SOUP-compatible reader.  QWK is fundamentally broken for news
  971.   reading, whereas SOUP uses Usenet's native formats.  Information
  972.   about SOUP can be found in the FAQ for comp.os.msdos.mail-news.
  973.   [11.94]
  974.  
  975. From: Tony Nugent <T.Nugent@sct.gu.edu.au>
  976.  
  977.   Take a look at ftp://oak.oakland.edu/SimTel/msdos/uucp/00_index.txt.
  978.   You need to download great masses of the NNTP database in order to
  979.   use Yarn!  [11.94]
  980.  
  981. From: Wesley Dudzinski <wesleyd@rahul.net>
  982.  
  983.   You can find uqwk at ftp://ftp.gte.com/pub/uqwk.  Yarn can be found
  984.   at ftp://oak.oakland.edu/pub/msdos/offline.  [11.94]
  985.  
  986.   (See also "Can I save all unread articles non-interactively into a
  987.   file?").
  988.  
  989. ------------------------------
  990.  
  991. Subject: 7. ***** Folder Maintenance *****
  992. From: Bill Wohler <wohler@newt.com>
  993.  
  994. ------------------------------
  995.  
  996. Subject: 7.1 How can I remove old articles from folders?
  997. From: Kim Storm <storm@olicom.dk>
  998.  
  999.   Just open the folder in the usual way and C(ancel) the articles you
  1000.   want to remove from the folder.  When you leave the folder, nn will
  1001.   rewrite the folder with the "cancel"ed articles removed.
  1002.  
  1003. ------------------------------
  1004.  
  1005. Subject: 8. ***** Posting and Responding to Articles *****
  1006. From: Bill Wohler <wohler@newt.com>
  1007.  
  1008. ------------------------------
  1009.  
  1010. Subject: 8.1 How can I post prewritten articles with nn?
  1011. From: Kim Storm <storm@olicom.dk>
  1012.  
  1013.   nnpost will construct the header for the posted article, so it
  1014.   requires several arguments to be specified before the article is
  1015.   posted, e.g. a newsgroup name and a subject.  If some arguments are
  1016.   missing, nnpost will prompt for the missing arguments.
  1017.  
  1018.   If your pre-written article includes a full header, then you should
  1019.   not use nnpost; instead you should feed the article to "inews -h"
  1020.   directly (which is what nnpost does after building the header from
  1021.   the arguments).
  1022.  
  1023. ------------------------------
  1024.   
  1025. Subject: 8.2 How can nn automatically append my signature?
  1026. From: Bill Wohler <wohler@newt.com>
  1027.  
  1028.   Put your signature in a file called .signature in your home
  1029.   directory, and use:
  1030.  
  1031.     set append-signature-post
  1032.     set append-signature-mail    # if desired
  1033.     set query-signature        # if you want confirmation.
  1034.  
  1035.   (See also "How do I eliminate double signatures?") and (See also
  1036.   "Can the signature come from a different file or program?") and the
  1037.   Signature FAQ (see also "What references exist for nn?") [11.94]
  1038.  
  1039. ------------------------------
  1040.   
  1041. Subject: 8.3 How do I eliminate double signatures?
  1042. From: Bill Wohler <wohler@newt.com>
  1043.  
  1044.   Double signatures occur when both nn and inews append $HOME/.signature.
  1045.  
  1046.   If you want just inews to append your signature, use:
  1047.  
  1048.     unset append-signature-post
  1049.  
  1050.   This is actually the default, but you can unset this variable if
  1051.   your nn administrator has mistakenly turned it on.
  1052.  
  1053.   If you want just nn to append your signature, move your signature to
  1054.   some other place than $HOME/.signature (see also "Can the signature
  1055.   come from a different file or program?").
  1056.  
  1057. ------------------------------
  1058.   
  1059. Subject: 8.4 Can the signature come from a different file or program?
  1060. From: Bill Wohler <wohler@newt.com>
  1061.  
  1062.   If you want nn to append your .signature file, you can copy nn's aux
  1063.   file (ie. /usr/local/lib/nn/aux) to your .nn directory and set the
  1064.   mail-script and news-script variables to ~/.nn/aux.  In your copy of
  1065.   the aux script, you can either specify a different place for your
  1066.   .signature file (like $HOME/.nn/signature) or you can get fancy: you
  1067.   can use specific .signatures for certain groups (saved in variable
  1068.   "G"), or use the output of a program.
  1069.  
  1070.   See also the Signature FAQ (see also "What references exist for nn?").
  1071.   [11.94]
  1072.   
  1073. From: Tom Christiansen <tchrist@perl.com>
  1074.  
  1075.   Tired of the same old signature?  Want different signatures for
  1076.   different newsgroups?  Here's a program to help you out.
  1077.  
  1078.   The way it works is to have .signature be a named pipe, so if you
  1079.   don't have named points, just say 'n'.
  1080.  
  1081.   The sigrand program then feeds stuff down the pipe everytime someone
  1082.   wants to read it.  That way it works for more than just news, but
  1083.   for anything that wants to read your .signature, like a mailer.
  1084.  
  1085.   You have your choice of three kinds of signatures:
  1086.  
  1087.       1) random (short) fortune from "fortune -s"; you get these if
  1088.      you don't have a global sig file.
  1089.       2) random fortune from ~/News/SIGNATURES [global sig file]
  1090.       3) random fortune form ~/News/(newsgroup)/SIGNATURES [local sig files]
  1091.  
  1092.   Send mail for more details. [11.94]
  1093.  
  1094. ------------------------------
  1095.   
  1096. Subject: 8.5 How do I save my posts, followups and replies automatically?
  1097. From: Don Mullins <mullins@convex.com> 
  1098.  
  1099.   In your nn init file, use the following lines:
  1100.  
  1101.     set news-record file
  1102.     set mail-record file
  1103.  
  1104.   to place posts and followups in one file and replies in another, or
  1105.   to put everything in a single file, use:
  1106.  
  1107.     set record file
  1108.  
  1109.   Replace "file" with the absolute path (~ == home directory ok) of
  1110.   your desired file.  All files are saved in mailbox format. [9.92]
  1111.  
  1112. ------------------------------
  1113.   
  1114. Subject: 8.6 ! Can I use my editor to edit posts and replies?
  1115. From: Bill Wohler <wohler@newt.com>
  1116.  
  1117.   Yes.  Set the environment variable EDITOR as desired.  If you like
  1118.   emacs:
  1119.  
  1120.     $ EDITOR=emacs; export EDITOR            # sh, ksh, bash
  1121.       % setenv EDITOR emacs                # csh, tcsh.
  1122.  
  1123.   Alternatively, you can add:
  1124.  
  1125.     set editor emacs
  1126.  
  1127.   to ~/.nn/init. [8.94]
  1128.  
  1129. From: epstein@ta6.cs.uiuc.edu (Milt Epstein)
  1130.  
  1131.   If you need to pass arguments to your editor, create a script which
  1132.   contains your editor and desired arguments.  For example:
  1133.  
  1134.     #!/bin/sh
  1135.     /local/all/emacs -nw ${1+"$@"}
  1136.  
  1137.   Then set your EDITOR or editor variables, as above, to this script.
  1138.  
  1139. ------------------------------
  1140.   
  1141. Subject: 8.7 Can I use my mailer to send mail?
  1142. From: Bill Wohler <wohler@newt.com>
  1143.  
  1144.   Yes.  See the variables mail-script, mailer, and mailer-pipe-input.
  1145.   The following show how you can have nn use elm and MH to deliver
  1146.   mail.  Note that you are not placed "in" your mailer--the mailer is
  1147.   merely used to deliver a message that you've already completed.
  1148.   [12.94]
  1149.  
  1150.   The original idea of using MH (namely, comp) to send mail from nn
  1151.   came from Jaap Vermeulen <jaap@sequent.com>, but he wouldn't
  1152.   recognize what I did to it.  I also used a suggestion from John
  1153.   Romine <jromine@ics.uci.edu> and Tom McCain <tom@dynamo.ecn.purdue.edu>.
  1154.  
  1155.   Add
  1156.  
  1157.     set mail-script nn-use-mh
  1158.  
  1159.   to your init file.  See Appendix "nn-use-mh" for the script.
  1160.  
  1161.   In addition, you can contact Ray Davis <rdavis@convex.com> for some
  1162.   scripts that sort of turn nn into a MH front end by providing macros
  1163.   to save, delete and refile articles in MH folders.
  1164.  
  1165.   To use elm to send the messages, add the following to ~/.nn/init:
  1166.  
  1167.     set   mailer              nn_elm
  1168.     unset mailer-pipe-input
  1169.  
  1170.   and see Appendix "nn_elm" for the script. [1.93]
  1171.  
  1172. ------------------------------
  1173.   
  1174. Subject: 8.8 Can nn use aliases when sending mail?
  1175. From: Bill Wohler <wohler@newt.com>
  1176.  
  1177.   Yes.  See the variable mail-alias-expander, and use the script in
  1178.   Appendix "nnalias."  You don't need to bother though if you've set
  1179.   the "mailer" variable to a mail program that handles aliases
  1180.   already.  [12.94]
  1181.  
  1182. ------------------------------
  1183.   
  1184. Subject: 8.9 How can I set a different Organization name?
  1185. From: Bill Wohler <wohler@newt.com>
  1186.  
  1187.   (See "How can I customize my mail headers for mail and
  1188.   posting?") [9.92]
  1189.  
  1190. ------------------------------
  1191.   
  1192. Subject: 8.10 How can I make mail replies go to a different machine?
  1193. From: Bill Wohler <wohler@newt.com>
  1194.  
  1195.   (See "How can I customize my mail headers for mail and
  1196.   posting?")  [9.92]
  1197.  
  1198. ------------------------------
  1199.   
  1200. Subject: 8.11 How can I change how my real name appears?
  1201. From: Bill Wohler <wohler@newt.com>
  1202.  
  1203.   On BSD UNIX systems, you can run the command chfn(1) to change your
  1204.   real name.  If you don't want to do this, or can't, please (see also
  1205.   "How can I customize my mail headers for mail and posting?")  [9.92]
  1206.  
  1207. ------------------------------
  1208.   
  1209. Subject: 8.12 How can I customize my mail headers for mail and posting?
  1210. From: Bill Wohler <wohler@newt.com>
  1211.  
  1212.   Headers can be modified or appended to by creating the variables
  1213.   mail-header (for replies) and news-header (for posts and followups)
  1214.   in the init file. You can include any headers that you want;
  1215.   separate multiple headers with semi-colons.  For example:
  1216.  
  1217.   set mail-header From: Joe Smith <js@cc.edu>;Reply-To: js@cc.edu;
  1218.           Organization: CC University
  1219.   set news-header From: Joe Smith <js@cc.edu>;Reply-To: js@cc.edu;
  1220.           Organization: CC University
  1221.  
  1222.   Note that these lines are split for readability--the value of these
  1223.   variables must appear on a single line.  In addition, do not insert a
  1224.   space between semi-colons and the next header.
  1225.  
  1226.   A Reply-To header is useful when your system generates either an
  1227.   unwanted or blatantly wrong return address for you.  If this header
  1228.   is present, then mailers use it instead of the system generated From
  1229.   header.
  1230.  
  1231.   A From header is useful when you want to change how your real name
  1232.   appears to nn readers, but you don't want to change it (or can't) on
  1233.   your system.  Warning: only do this if you're sure you can create a
  1234.   RFC 822 compliant From header.  [9.92]
  1235.  
  1236. ------------------------------
  1237.  
  1238. Subject: 9. ***** Jumping to Other Groups *****
  1239. From: Bill Wohler <wohler@newt.com>
  1240.  
  1241. ------------------------------
  1242.  
  1243. Subject: 9.1 How can I see which newsgroups are available?
  1244. From: Bill Wohler <wohler@newt.com>
  1245.  
  1246.   Also try using '?' when going to a group with the 'G' command.  Note
  1247.   that successive '?'s will display more groups when there is not
  1248.   enough room to display all choices at once.  Group completion is
  1249.   achieved with ' ' (space).
  1250.  
  1251.   Finally, the programs "nnsub" or "eep" can be used to easily view
  1252.   newsgroup names and descriptions and also to subscribe to groups.
  1253.   These programs are in the "contrib" area of the sources in 6.5.0.
  1254.   [10.93]
  1255.  
  1256. From: Sven Guckes <guckes@math.fu-berlin.de>
  1257.  
  1258.   To see a list of all news groups with a short description, use the
  1259.   command ":post" and type '?'.  To list groups that match a regular
  1260.   expression (ie. pattern), use "/pattern" instead of '?'.
  1261.  
  1262. ------------------------------
  1263.   
  1264. Subject: 9.2 + Why do I get *NO*UPDATE* and what can I do about it?
  1265. From: Sven Guckes <guckes@inf.fu-berlin.de>
  1266.  
  1267.   When entering a group with a search command nn does not do updates
  1268.   as it assumes you are only "visiting" this group to look up some
  1269.   text.  In this case, nn enters a new "level" of information
  1270.   retrieval, indicated by "<level 2>".  It also tells you that there
  1271.   won't be any updates by the "*NO*UPDATE*" on the top of the menu.
  1272.  
  1273.   If you want to go to a group and *read* it (that is, you want nn to
  1274.   remember which articles you have read, selected, or left for
  1275.   reading) then you must *jump* to it.  Use the 'G' command followed
  1276.   by the 'j' (jump) subcommand.
  1277.  
  1278. ------------------------------
  1279.  
  1280. Subject: 10. ***** Automatic Kill and Selection *****
  1281. From: Bill Wohler <wohler@newt.com>
  1282.  
  1283. ------------------------------
  1284.  
  1285. Subject: 10.1 Can non-selected subjects be automatically placed in my kill file?
  1286. From: Keld J|rn Simonsen <keld@dkuug.dk>
  1287.  
  1288.   The two variables, ignore-re and auto-select-rw, accomplish this
  1289.   task.  They are available in version 6.5.0.  In the meantime,
  1290.   patches may be obtained from ftp://dkuug.dk/pub/nn6.4/nn6.4.killunread.
  1291.   [1.93]
  1292.  
  1293. ------------------------------
  1294.   
  1295. Subject: 10.2 Can I automatically kill articles based on the Newsgroups header?
  1296. From: Richard M. Mathews <richard@locus.com>, Dave Shaver <shaver@convex.com>
  1297.  
  1298.   This is how one can automatically kill crossposted articles, etc.
  1299.  
  1300.   First, manually either add the following to your .newsrc to mark all
  1301.   articles read forever:
  1302.  
  1303.     alt.flame: 1-2147483647
  1304.  
  1305.   or add the following to your .nn/kill file to kill all articles in
  1306.   the group:
  1307.  
  1308.     alt.flame:!s/:^
  1309.  
  1310.   The former method may break down if you ever use nngoback to reset
  1311.   numbers in your .newsrc.  The latter method could cause difficulty
  1312.   if you ever actually want to read articles in that group.
  1313.  
  1314.   Near the top of your sequence in your init file put
  1315.  
  1316.     !alt.flame.
  1317.     alt.flame
  1318.  
  1319.   This makes alt.flame, but not its subgroups, be included as the first
  1320.   thing in your sequence; so all articles in it are killed before they
  1321.   appear in any other groups.  You might want to put NEW above this so
  1322.   you can see if new groups are getting off to a bad start with lots of
  1323.   alt.flame crossposting.  Later in the sequence put
  1324.  
  1325.     % alt %
  1326.  
  1327.   This allows the rest of the alt hierarchy, including subgroups such
  1328.   as alt.flame.spelling (if you subscribe to it), to get included at
  1329.   that point in the sequence.
  1330.  
  1331.   Along with using the default settings of cross-filter-seq=true and
  1332.   cross-post=false, this works fine to nuke the crossposted articles.
  1333.  
  1334. ------------------------------
  1335.   
  1336. Subject: 10.3 How can I find all articles having to do with a certain topic?
  1337. From: Bill Wohler <wohler@newt.com>
  1338.  
  1339.   nngrab invokes nn on all articles whose subject or keyword fields
  1340.   contain a desired keyword.  This shows one how important it is to
  1341.   use descriptive subjects and keywords when posting articles.  For
  1342.   more information, read the manual page.
  1343.  
  1344. ------------------------------
  1345.   
  1346. Subject: 10.4 Can I select one article in a thread when auto-select-subject set?
  1347. From: Steven Grady <grady@fx.com>
  1348.  
  1349.   Define the following macro to toggle auto-select-subject.
  1350.  
  1351.     map menu A (
  1352.         :local auto-select-subject
  1353.         :toggle auto-select-subject
  1354.         ?auto-select-subject=on echo "Auto-select on"
  1355.         ?auto-select-subject=off echo "Auto-select off"
  1356.     )
  1357.  
  1358.   Use the '.' command.
  1359.  
  1360. ------------------------------
  1361.   
  1362. Subject: 10.5 Can one search for patterns in the entire article from the menu?
  1363. From: Peter Wemm <peter@dialix.oz.au>
  1364.  
  1365.   No.  However, in 6.5.0, there will be an additional option under the
  1366.   'G' command to create a submenu containing articles that contain the
  1367.   desired string.  As it is not yet well tested, it will be a compile
  1368.   time feature. [10.93]
  1369.  
  1370. ------------------------------
  1371.   
  1372. Subject: 10.6 How come more articles get selected than I expect?
  1373. From: Dave Hayes <dave@elxr.jpl.nasa.gov>
  1374.  
  1375.   Check the setting of subject-match-parts. If this is on, then your subjects
  1376.   are considered matched if they match up to the first digit. For example
  1377.   if subject-match-parts is on, the subjects:
  1378.  
  1379.     someprogram Part 1/5
  1380.     someprogram Part 2/5
  1381.  
  1382.   are considered matches. So are
  1383.  
  1384.     v12345: someprogram Part 1/5
  1385.     v12346: anotherprogram Part 1/23
  1386.  
  1387.   as the "v" is identical up to the first digit. If you want to use
  1388.   subject-match-parts in a "comp.sources" type group, set
  1389.   subject-match-offset (the character position that matches are
  1390.   started from) to be beyond any digits that might appear in the first
  1391.   part of the subject.
  1392.  
  1393. ------------------------------
  1394.   
  1395. Subject: 10.7 Any plans for trn-ish thread following?
  1396. From: Peter Wemm <peter@dialix.oz.au> 
  1397.  
  1398.   "Yes, it's planned." [10.93]
  1399.  
  1400. ------------------------------
  1401.   
  1402. Subject: 10.8 Can one kill articles based on the number of lines?
  1403. From: Bill Wohler <wohler@newt.com>
  1404.  
  1405.   No. [11.94]
  1406.  
  1407. ------------------------------
  1408.   
  1409. Subject: 10.9 Why is nn 6.5.0b3 ignoring my kill file?
  1410. From: Pierre Lewis <lew@bnr.ca>
  1411.  
  1412.   Unknown.  You can work around the problem by touching the kill file.
  1413.   [11.94]
  1414.  
  1415. ------------------------------
  1416.  
  1417. Subject: 11. ***** The Format of the Kill File *****
  1418. From: Bill Wohler <wohler@newt.com>
  1419.  
  1420. ------------------------------
  1421.   
  1422. Subject: 12. ***** Miscellaneous Commands *****
  1423. From: Bill Wohler <wohler@newt.com>
  1424.  
  1425. ------------------------------
  1426.  
  1427. Subject: 12.1 Can I choose newsgroups as I do articles, ie. with a menu?
  1428. From: Peter Wemm <peter@dialix.oz.au>
  1429.  
  1430.   No, not yet.  Sorry.  However, progress in this direction has been
  1431.   made--if you care to finish the work, please contact me. [12.92]
  1432.  
  1433.   Outside of nn, you may wish to check out eep which is in the
  1434.   contributed area in 6.5.0. [10.93]
  1435.  
  1436.   (See also "How can see which newsgroups are available?")  [1.93]
  1437.  
  1438. ------------------------------
  1439.   
  1440. Subject: 12.2 How do I unsubscribe to all groups?
  1441. From: Sven Guckes <guckes@math.fu-berlin.de>
  1442.  
  1443.   The file .newsrc in your home directory contains the information
  1444.   about the newsgroups, their subscription status and the numbers of
  1445.   the read articles.  A colon (':') indicates a subscribed group, and
  1446.   an exclamation mark ('!') indicates an unsubscribed group.  All you
  1447.   need to do for unsubscribing to all newsgroups is to edit .newsrc.
  1448.   You can do this with your favourite editor, or
  1449.  
  1450.     sed -e 's/:/!/' $HOME/.newsrc > foo
  1451.     mv foo .newsrc
  1452.  
  1453.   If you use csh, you have to escape the '!' with a '\'. [3.93]
  1454.  
  1455. ------------------------------
  1456.   
  1457. Subject: 12.3 How can I get nn to stop adding new newsgroups?
  1458. From: Jason A Chase <jchase@netcom.com>
  1459.  
  1460.   Add
  1461.  
  1462.     set new-group-action 0
  1463.  
  1464.   to ~/.nn/init. [8.94]
  1465.  
  1466. From: Bill Wohler <wohler@newt.com>
  1467.  
  1468.   However, what you might want to do instead is not see new groups in
  1469.   selected hierarchies.  I've added the following to my sequence (in
  1470.   ~/.nn/init):
  1471.  
  1472.     # Don't bother with new groups in these hierarchies.
  1473.     !:N alt,de,u3b,vmsnet,eunet,bionet,bit,biz,trial,psi,k12,nirvana
  1474.  
  1475.   The key one is alt! [8.94]
  1476.  
  1477. ------------------------------
  1478.  
  1479. Subject: 13. ***** The Init Files *****
  1480. From: Bill Wohler <wohler@newt.com>
  1481.  
  1482. ------------------------------
  1483.  
  1484. Subject: 13.1 How do I customize nn or change nn's behavior?
  1485. From: Bill Wohler <wohler@newt.com>
  1486.  
  1487.   Modify the file ~/.nn/init.  See the section "The Init Files" in the
  1488.   man page for more details.  So that you know what else might be
  1489.   affecting nn, here's the beginning of that chapter:
  1490.  
  1491.   The init files are used to customize nn's behavior to local
  1492.   conventions and restrictions and to satisfy each user's personal
  1493.   taste.  Normally, nn reads up to three init files on start-up if
  1494.   they exist (all init files are optional):
  1495.  
  1496.   $LIB/setup 
  1497.     A system-wide file located in the library directory. This file
  1498.     is always loaded before any other init file (even when the -I
  1499.     option is specified).  It cannot contain a group presentation
  1500.     sequence.
  1501.  
  1502.   $LIB/init
  1503.     Another system-wide (global) init file located in the library
  1504.     directory.  This file may be ignored via the -I option.
  1505.  
  1506.   ~/.nn/init
  1507.     The private init file located in the user's .nn directory. It
  1508.     is read after the global init file to allow the user to change
  1509.     the default setup.
  1510.  
  1511. ------------------------------
  1512.   
  1513. Subject: 13.2 How can nn be used when multiple users share the same login?
  1514. From: Nancy McGough <nancym@ii.com>, Bill Wohler <wohler@newt.com>
  1515.  
  1516.   Create aliases of the form:
  1517.  
  1518.     alias nn-userN 'nn -I$HOME/.nn/init-userN'        # csh
  1519.     alias nn-userN='nn -I$HOME/.nn/init-userN'        # bash, ksh
  1520.  
  1521.   Where $HOME/.nn/init-userN are separate init files for the users (or
  1522.   different environments).  Ensure that the following variables are
  1523.   different between the files:
  1524.  
  1525.     newsrc
  1526.     news-header 
  1527.     news-record
  1528.     mail-header 
  1529.     mail-record
  1530.     folder
  1531.     sequence
  1532.  
  1533.   [11.94]
  1534.  
  1535. ------------------------------
  1536.  
  1537. Subject: 14. ***** Variables and Options *****
  1538. From: Bill Wohler <wohler@newt.com>
  1539.  
  1540. ------------------------------
  1541.  
  1542. Subject: 14.1 ! Setting new-group-action to "ask before adding" doesn't work.
  1543. From: Peter Wemm <peter@dialix.oz.au>
  1544.  
  1545.   Take NEW out of your sequence--it's redundant.
  1546.  
  1547.   There was also a small bug (fixed in 6.5.0) which caused it to
  1548.   not to work in certain situations. [10.93]
  1549.  
  1550. From: Bill Wohler <wohler@newt.com>
  1551.  
  1552.   By the way, if you find that taking NEW out of your sequence has no
  1553.   effect, it may be that you're being affected by the system init file
  1554.   (usually in /usr/local/lib/nn/init).  If this is the case, add "@"
  1555.   to the beginning of your sequence, like this, which causes the
  1556.   system init file to be ignored:
  1557.   
  1558.     sequence
  1559.     @
  1560.  
  1561. ------------------------------
  1562.  
  1563. Subject: 15. ***** Macro Definitions *****
  1564. From: Bill Wohler <wohler@newt.com>
  1565.  
  1566. ------------------------------
  1567.  
  1568. Subject: 15.1 Is there a library of macros and other nn features?
  1569. From: Bill Wohler <wohler@newt.com>
  1570.  
  1571.   When complete, it will be a companion posting to this one.  If you
  1572.   have not mailed me <wohler@newt.com> your init file, or you have
  1573.   made substantial changes since the last time, please send it in.  If
  1574.   anyone is handy in perl or awk and would like to write some scripts
  1575.   to reduce multiple init files to variable summaries (like the one I
  1576.   posted a long time ago), macro definitions and presentation sequence
  1577.   tricks, I would like to talk to you.
  1578.  
  1579. From: --Nancy McGough <nancym@ii.com>
  1580.  
  1581.   In the meantime, check out ftp://ftp.ii.com/pub/ii/Internet/NN. [11.94]
  1582.  
  1583. ------------------------------
  1584.  
  1585. Subject: 16. ***** Key Mappings *****
  1586. From: Bill Wohler <wohler@newt.com>
  1587.  
  1588. ------------------------------
  1589.   
  1590. Subject: 17. ***** Command Groups *****
  1591. From: Bill Wohler <wohler@newt.com>
  1592.  
  1593. ------------------------------
  1594.   
  1595. Subject: 18. ***** Group Presentation Sequence *****
  1596. From: Bill Wohler <wohler@newt.com>
  1597.  
  1598. ------------------------------
  1599.  
  1600. Subject: 19. ***** NN Maintenance & nnmaster *****
  1601. From: Bill Wohler <wohler@newt.com>
  1602.  
  1603. ------------------------------
  1604.  
  1605. Subject: 19.1 Why does nnmaster stop collecting articles at the "junk" group?
  1606. From: Kim Storm <storm@olicom.dk>
  1607.  
  1608.   This can occur when you access news via NNTP.  Older nntp servers
  1609.   have a limitation of 4000 articles in a group, and junk may easily
  1610.   exceed this which makes the nntp server crash.
  1611.  
  1612.   To overcome the problem, edit the GROUPS file to add the X flag on
  1613.   the junk group, run nnmaster -G, and then nnmaster will ignore the
  1614.   junk group.
  1615.  
  1616. From: Mark Rawling <Mark.Rawling@mel.dit.csiro.au>
  1617.  
  1618.   In nntp_dir/common/conf.h, you can either increase MAX_GROUPS
  1619.   (normally 4096) or you can set #define DYNAMIC_ART_ARRAY (normally
  1620.   #undefed).  In either case, you obviously have to recompile nntp.
  1621.  
  1622.   Normally, new groups are added as they come in, but the news
  1623.   administrator should monitor the junk newsgroup and either make new
  1624.   newsgroups for the orphan messages, or ensure that the feed stops
  1625.   sending bogus messages. [3.93]
  1626.  
  1627. ------------------------------
  1628.   
  1629. Subject: 19.2 How do I cope with "Incomplete MASTER file"?
  1630. From: Bill Wohler <wohler@newt.com>
  1631.  
  1632.   (See "Why isn't nnmaster working?")
  1633.  
  1634. ------------------------------
  1635.   
  1636. Subject: 19.3 Why isn't nnmaster working?
  1637. From: Stew Ellis <ellis@nova.gmi.edu>
  1638.  
  1639.   After the make, did you remember to:
  1640.  
  1641.     Run ./inst <options> to install the files?
  1642.     Run ./inst INIT to initialize the database?
  1643.  
  1644.   Nnmaster mails error messages to the user who owns him (typically
  1645.   "news").  Check this mailbox for clues.
  1646.  
  1647.   If nnmaster -r or -D did not work, then neither did nnmaster -I (or
  1648.   ./inst INIT from the install directory).  Once you fix the
  1649.   permissions (see Paul's answer below), you need to rerun the
  1650.   initialization step.
  1651.  
  1652. From: David R. Hieb <David.R.Hieb@magi.rootgroup.com>
  1653.  
  1654.   If nnmaster dies and updates the Log file with "Incomplete MASTER
  1655.   file", it could be you're not running the latest version.
  1656.  
  1657. From: Paul Bickerstaff <pbickers@tamaluit.phys.uidaho.edu>
  1658.  
  1659.   If, when you start your nnmaster, it just exits quietly, it could be
  1660.   that your permissions are incorrect.  Ensure that all directories in
  1661.   the nn library are owned by news (or the owner that you configured
  1662.   nn with).
  1663.  
  1664. From: Jim Jagielski <jim@jagubox.gsfc.nasa.gov> 
  1665.  
  1666.   Make sure that there is a 'news' entry in passwd and group since
  1667.   nnmaster is run setuid/setgid to news and the files and directories
  1668.   that nnmaster needs to access are owned and writable by news. [9.92]
  1669.  
  1670.   Another problem could be in the way it is started.  Two related
  1671.   solutions are presented.
  1672.  
  1673. From: David B. Thomas <dt@yenta.alb.nm.us>
  1674.  
  1675.   /etc/rc exits before the child has had the chance to setpgrp().
  1676.   Putting "sleep 5" at the end of /etc/rc fixed it.
  1677.  
  1678. From: Jeffery Small <jeff@cjsa.wa.com>
  1679.  
  1680.   Another similar solution involved inserting a "sleep 10" at the
  1681.   beginning of /etc/daemons/nnmaster.init file.
  1682.  
  1683. From: David R. Hieb <David.R.Hieb@magi.rootgroup.com>
  1684.  
  1685.   It could be you're not running the latest version.
  1686.  
  1687. ------------------------------
  1688.   
  1689. Subject: 19.4 Why did nnmaster stop working?
  1690. From: Phil Howard <pdh@netcom.com>
  1691.  
  1692.   Perhaps you have a corrupted database that can't be fixed.  In this
  1693.   case, run "./inst INIT" from the installation procedure. [5.94]
  1694.  
  1695. From: Stew Ellis <ellis@nova.gmi.edu>
  1696.  
  1697.   nnmaster may exit when it encounters a corrupt header in an article
  1698.   from a nntpserver.  Restart nnmaster in debug mode (nnmaster -D) to
  1699.   see which group contains the offending article.  Ignore this group
  1700.   until the offending article has expired by editing the GROUPS file,
  1701.   adding the `X' flag to the newsgroup and running "nnmaster -G".
  1702.   Restart collection of the newsgroup by removing the `X' flag and
  1703.   running "nnmaster -G". [8.94]
  1704.  
  1705.   (See also "Why isn't nnmaster working?")
  1706.  
  1707. ------------------------------
  1708.   
  1709. Subject: 19.5 Why do I get ".../MASTER not found"?
  1710. From: Bill Wohler <wohler@newt.com>
  1711.  
  1712.   The problem of the NN port to the Atari ST is, that you have to
  1713.   build an "active" file (NN format, not HERMES-like!!) in
  1714.   /usr/lib/news before running nnadmin -I.
  1715.  
  1716.   You can build this file by using the included "buildact.tos."
  1717.   Buildact.tos creates a UNIX-like /usr/lib/news/active from
  1718.   /usr/lib/hermes/active. [9.92]
  1719.  
  1720. ------------------------------
  1721.   
  1722. Subject: 19.6 Why do I get "cannot open 'x' file"
  1723. From: Sami Tikka <Sami.Tikka@hut.fi>
  1724.  
  1725.   If you get a message like,
  1726.  
  1727.     Fatal system error:
  1728.     alt.activism (6): cannot open 'x' file (mode=82, errno=2)
  1729.  
  1730.   you haven't initialized your database.  As root, run the following
  1731.   command "./inst INIT" in the nn source directory.  See the file
  1732.   INSTALLATION for more information. [1.93]
  1733.  
  1734. ------------------------------
  1735.   
  1736. Subject: 19.7 Why do I get "Lost connection to server foobar"
  1737. From: Jeff Beckley <beckley@qualcomm.com>
  1738.  
  1739.   It's possible that the two database files for a newsgroup (nnn.x and
  1740.   nnn.d) don't exist.  Go into nnadmin and force a recollect of the
  1741.   newsgroup.  Most of the newsgroups (which are missing nnn.x and
  1742.   nnn.d files) after the first problem newsgroup might be
  1743.   automatically collected without a problem.  If there are a large
  1744.   number of these problem groups, it might be easier just to rebuild
  1745.   the whole database: kill nnmaster, run "./inst INIT" as root in the
  1746.   source directory and restart nnmaster.
  1747.  
  1748.   If the group in question has too many articles (>4000), it will
  1749.   cause older NNTP implementations to choke (see "Why does nnmaster
  1750.   stop collecting articles at the "junk" group?" for a fix). [3.93]
  1751.  
  1752. From: Darren Hosking <dmh@tusc.com.au>
  1753.  
  1754.   These are not relevant if you use NOV and not nnmaster. [11.94]
  1755.  
  1756. ------------------------------
  1757.   
  1758. Subject: 19.8 Why doesn't nn display messages when not using NNTP?
  1759. From: Michael Masterson <mjm@thumper.progcons.com>
  1760.  
  1761.   If the database was built with NNTP, then nn has to use NNTP to read
  1762.   the messages.  This is not true in the other direction: nn clients
  1763.   can use NNTP to read the messages from a database built via NFS.
  1764.   The moral: build the database via NFS if you intend to use nn with
  1765.   either NFS or NNTP. [8.94] 
  1766.  
  1767. ------------------------------
  1768.   
  1769. Subject: 19.9 Why do I get "Notice: no news has arrived for the last n hours"?
  1770. From: Bill Wohler <wohler@newt.com>
  1771.  
  1772.   (See "Why did nnmaster stop working?"). [8.94]
  1773.  
  1774. ------------------------------
  1775.   
  1776. Subject: 19.10 How can I fix a "Master/GROUPS conflict"?
  1777. From: Guan-Hsong Hsu <ghsu@unstable.nswc.navy.mil>
  1778.  
  1779.   Run "nnmaster -G". [11.94]
  1780.  
  1781. ------------------------------
  1782.  
  1783. Subject: ! Glossary
  1784. From: Bill Wohler <wohler@newt.com>,
  1785.     Richard Mathews <richard@astro.West.Sun.COM>
  1786.  
  1787.   MIME          "Multi-purpose Internet Mail Extensions" (see RFC 1341).
  1788.         Allows for transmission of binary data and of text using
  1789.         international character sets.
  1790.  
  1791.   NNTP          "Network News Transport Protocol" (see RFC 977).  Used
  1792.         when transmitting news between servers or between reader
  1793.         and server.
  1794.  
  1795.   C News    A news server.  Successor to A News and B News.
  1796.  
  1797.   INN        "Inter-Network News".  Another news server.
  1798.  
  1799.   NOV           "News OverView".  A feature of INN and an add-on package
  1800.         to C News which allows saving "overview" files summarizing
  1801.         the contents of each newsgroup.
  1802.  
  1803.   XOVER         An extension to NNTP to allow access to "overview"
  1804.         information.
  1805.  
  1806. ------------------------------
  1807.   
  1808. Subject: Acknowledgments
  1809. From: Bill Wohler <wohler@newt.com>
  1810.  
  1811. I'd like to thank the following people for providing ideas on the
  1812. layout of this article:
  1813.  
  1814. Joe Wells <jbw@bigbird.bu.edu>          Richard M. Stallman <rms@gnu.ai.mit.edu>
  1815. David Elliott <dce@smsc.sony.com>     Tom Christiansen <tchrist@perl.com>
  1816. Eugene N. Miya <eugene@nas.nasa.gov>
  1817.  
  1818.  
  1819. We are also grateful to the individuals mentioned below and in the
  1820. text of this document who have provided answers or other information
  1821. to make this a better document.  I regret that it is possible that
  1822. some names have been accidently omitted.  I would also like to thank
  1823. all the readers of news.software.nn.
  1824.  
  1825. Kim Storm <storm@olicom.dk>           Sven Guckes <guckes@math.fu-berlin.de>
  1826.  
  1827. ------------------------------
  1828.   
  1829. Subject: pack_date.c
  1830. From: Paul Eggert <eggert@twinsun.com>
  1831.  
  1832.   *** old/pack_date.c    Wed Apr 17 01:32:40 1991
  1833.   --- new/pack_date.c    Thu Jun  4 20:03:02 1992
  1834.   ***************
  1835.   *** 4,9 ****
  1836.   --- 4,11 ----
  1837.      *    Calculate an approximate "time_stamp" value for a date
  1838.      *    string.  The actual value is not at all critical,
  1839.      *    as long as the "ordering" is ok.
  1840.   +  *    The current algorithm mishandles non-GMT time zones near
  1841.   +  *    short month boundaries, but this is rare in real news.
  1842.      *
  1843.      *    The result is NOT a time_t value, i.e. ctime() will
  1844.      *    not produce the original Date string.
  1845.   ***************
  1846.   *** 256,262 ****
  1847.         res *= 24 * 60;
  1848.         res += (hour * 60) + min;
  1849.  
  1850.   !     return res + tzone(date);
  1851.     }
  1852.  
  1853.  
  1854.   --- 258,264 ----
  1855.         res *= 24 * 60;
  1856.         res += (hour * 60) + min;
  1857.  
  1858.   !     return res - tzone(date);
  1859.     }
  1860.  
  1861. ------------------------------
  1862.   
  1863. Subject: news.c
  1864. From: Paul Eggert <eggert@twinsun.com>,  Luc Rooijakkers <lwj@cs.kun.nl>
  1865.  
  1866.   RCS file: news.c,v
  1867.   retrieving revision 1.1
  1868.   diff -c2 -r1.1 news.c
  1869.   *** news.c    1990/10/23 21:37:38    1.1
  1870.   --- news.c    1992/06/19 23:17:05
  1871.   ***************
  1872.   *** 231,235 ****
  1873.         char *parse_header();
  1874.         struct stat statb;
  1875.   !     int retry;
  1876.         FILE *f;
  1877.     #ifdef NNTP
  1878.   --- 231,235 ----
  1879.         char *parse_header();
  1880.         struct stat statb;
  1881.   !     int c, retry;
  1882.         FILE *f;
  1883.     #ifdef NNTP
  1884.   ***************
  1885.   *** 300,309 ****
  1886.         body = parse_header(f, art_hdr_field, modes, buffer1);
  1887.  
  1888.   -     news.ng_lines = news.ng_xlines ? atoi(news.ng_xlines) : -1;
  1889.         if (news.ng_from == NULL) news.ng_from = news.ng_sender;
  1890.  
  1891.   !     if (modes & FILL_OFFSETS) {
  1892.             art->fpos = news.ng_fpos = ftell(f);
  1893.  
  1894.             fseek(f, (off_t)0, 2);
  1895.             news.ng_lpos = ftell(f);
  1896.   --- 300,328 ----
  1897.         body = parse_header(f, art_hdr_field, modes, buffer1);
  1898.  
  1899.         if (news.ng_from == NULL) news.ng_from = news.ng_sender;
  1900.  
  1901.   !     if (modes & FILL_OFFSETS)
  1902.             art->fpos = news.ng_fpos = ftell(f);
  1903.  
  1904.   +     if (news.ng_xlines)
  1905.   +         news.ng_lines = atoi(news.ng_xlines);
  1906.   +     else {
  1907.   + #ifdef NNTP
  1908.   +         if (use_nntp && lazy) {
  1909.   +         off_t fpos = ftell(f);
  1910.   +         fclose(f);
  1911.   +         f = nntp_get_article(art->a_number, 2);
  1912.   +         if (f == NULL) return NULL;
  1913.   +         lazy = 0;
  1914.   +         fseek(f, fpos, 0);
  1915.   +         }
  1916.   + #endif
  1917.   +         news.ng_lines = 0;
  1918.   +         while ((c = getc(f)) != EOF)
  1919.   +         if (c == '\n')
  1920.   +             news.ng_lines++;
  1921.   +     }
  1922.   +
  1923.   +     if (modes & FILL_OFFSETS) {
  1924.             fseek(f, (off_t)0, 2);
  1925.             news.ng_lpos = ftell(f);
  1926.  
  1927. ------------------------------
  1928.   
  1929. Subject: nn-use-mh
  1930. From: Bill Wohler <wohler@newt.com>
  1931.  
  1932. #!/bin/sh
  1933.  
  1934. # Obtain value of $WORK and $RECORD
  1935. . ${HOME}/.nn/.param
  1936.  
  1937. # Append Fcc: +folder to headers.  The folder is specified in
  1938. # mail-record.
  1939. if [ "$RECORD" != "" ]; then
  1940.       awk '
  1941.       {
  1942.           if ($0 == "" && !done) {
  1943.               print "Fcc: +'$RECORD'";
  1944.               done = 1;
  1945.           }
  1946.           print;
  1947.       }' $WORK > /tmp/aux.$$ && mv /tmp/aux.$$ $WORK
  1948. fi
  1949.  
  1950. # Compose and send the mail
  1951. comp -form $WORK
  1952.  
  1953. ------------------------------
  1954.   
  1955. Subject: ! nn_elm
  1956. From: Phil Kernick <phil@ringo.ssn.flinders.edu.au>
  1957.  
  1958. #!/bin/sh
  1959. #
  1960. # nn_elm
  1961. #
  1962. # 07 Aug 91             V1.0
  1963. #
  1964. # Massage a mail message from nn into a form that elm can use
  1965. # (c) 1991 Phil Kernick <phil@ringo.ssn.flinders.edu.au> Wizard Software
  1966. #
  1967. # 10 Nov 94             V1.1    Escape quotes in subject -- Dave Wolfe
  1968.  
  1969. eval `awk '
  1970. BEGIN {
  1971.     
  1972.   FS = ":";
  1973.   dq = sprintf("%c", 34);
  1974.   bs = sprintf("%c", 92);
  1975.  
  1976.   headers = 0;
  1977.   to = "";
  1978.   subject = "";
  1979. }
  1980.  
  1981. /^.*: / {
  1982.     
  1983.   headers++;
  1984.   if($1 == "To")
  1985.     to = dq substr($0, 5) dq;
  1986.   if($1 == "Subject") {
  1987.     subject = substr($0, 10);
  1988.     gsub(/\"/, bs dq, subject);
  1989.     subject = dq subject dq;
  1990.   }
  1991. }
  1992.  
  1993. /^$/ {
  1994.     
  1995.     printf("tail +%d %s | elm -s %s %s > /dev/null\n", headers+2, mail, subject,
  1996.  to);
  1997.     exit;
  1998. }' mail=$1 $1`
  1999.  
  2000. exit $?
  2001.  
  2002. ------------------------------
  2003.   
  2004. Subject: nnalias
  2005. From: Scott Hannahs <sth@slipknot.mit.edu>
  2006.  
  2007. #!/bin/sh
  2008. #
  2009. # nnalias -- expands aliases from ~/.mailrc file for nn.
  2010. #
  2011. # To use, put the following in your ~/.nn/init file:
  2012. #
  2013. #    set mail-alias-expander nnalias
  2014. # and put this file somewhere in your path, making it executable.  I use
  2015. #    set mail-alias-expander /usr/local/lib/nnalias
  2016. # but the choice is up to you.
  2017. #
  2018. # Written by Scott Hannahs, Bitter National Magnet Lab, MIT, August 1991
  2019. # Complaints, comments, ideas to sth@slipknot.mit.edu
  2020. # Tested on Silicon Graphics, IRIX 3.3.1
  2021. #
  2022. # Minor banging by <rreiner@nexus.yorku.ca> to handle alias value fields
  2023. # which contain doublequote characters, e.g.
  2024. #
  2025. #    alias Foo "Foobar the Great <foo@bar.com>"
  2026. #
  2027. # (the doublequotes are stripped in the expansion), and to handle multiple
  2028. # spaces after the token "alias".
  2029. #
  2030. # Also added some error detection and signal traps; tested on SunOS 4.1.1.
  2031. #
  2032. #    Exit codes:     0 -- normal termination
  2033. #            1 -- parm error
  2034. #            2 -- file does not exist
  2035. #            3 -- trap
  2036. #
  2037. # Thanks to bug reports from
  2038. #  Andy Jacobs and others
  2039. #
  2040. if [ z$1 = z ]; then
  2041.   myname=`basename $0`
  2042.   echo "$myname: usage is  $myname workfile"
  2043.   exit 1
  2044. fi
  2045.  
  2046. if [ ! -f $1 ]; then
  2047.   myname=`basename $0`
  2048.   echo "$myname: $1 does not exist or is a directory"
  2049.   exit 2
  2050. fi
  2051.  
  2052. TMP_DIR=/usr/tmp
  2053.  
  2054. trap "rm -f ${TMP_DIR}/nn.alias.$$ ; exit 3" 0 1 2 3 15
  2055.  
  2056. ALIAS_LIST=""
  2057. ADDRESS_LIST="`head -1 $1 | sed -e s/To://`"
  2058. until [ "$ALIAS_LIST" = "$ADDRESS_LIST" ] ; do
  2059.   ALIAS_LIST="`echo "$ADDRESS_LIST"| sed -e 's/,/ /g' `"
  2060.   ADDRESS_LIST=""
  2061.     for ALIAS in $ALIAS_LIST ; do
  2062.       ADDRESS=`grep '^[     ]*alias[     ][     ]*'"$ALIAS"'[     ]' ${HOME}/.mailrc |\
  2063.       sed      -e s/'^[     ]*alias[     ][     ]*'"$ALIAS"'[     ][     ]*'// |\
  2064.       sed -e s/'"'//g`
  2065.       if [ "$ADDRESS" ] ; then
  2066.     ADDRESS_LIST="$ADDRESS_LIST $ADDRESS"
  2067.       else
  2068.     ADDRESS_LIST="$ADDRESS_LIST $ALIAS"
  2069. #      for elm alias expansion use the following line instead of the previous.
  2070. #      ADDRESS_LIST="$ADDRESS_LIST "`elm -c "$ALIAS" | cut -f3 -d\ `
  2071.       fi
  2072.     done
  2073.   done
  2074. echo "To:${ADDRESS_LIST}" > ${TMP_DIR}/nn.alias.$$
  2075. tail +2 $1 >> ${TMP_DIR}/nn.alias.$$
  2076. mv -f ${TMP_DIR}/nn.alias.$$ $1
  2077.  
  2078. exit 0
  2079.  
  2080. ------------------------------
  2081.   
  2082. Subject: lynxify
  2083. From: Dr. Richard Botting <rbotting@wiley.csusb.edu>
  2084.  
  2085. #!/bin/sh
  2086. # Author: Dr. Richard Botting <rbotting@wiley.csusb.edu>
  2087. # Posted to comp.infosystems.www.users on 9 June 94
  2088. # Prepare input with embedded html tags for lynx and then view it
  2089.  
  2090. file=/tmp/mailynx.${$}.html
  2091. (echo "<pre>" ; cat ; echo "</pre>" )> $file
  2092. lynx $file < /dev/tty
  2093. rm $file
  2094.  
  2095. ------------------------------
  2096.   
  2097. Subject: nntp.c
  2098. From: Henrik Storner <storner@olicom.dk>
  2099.  
  2100.   *** nntp.c.old    Sat Nov  5 19:54:57 1994
  2101.   --- nntp.c    Sat Nov  5 19:55:36 1994
  2102.   ***************
  2103.   *** 759,765 ****
  2104.     strncpy(host, (gethostbyname(host))->h_name, sizeof host);
  2105.  
  2106.     server_real_name = (gethostbyname(nntp_server))->h_name;
  2107.   !     use_nntp = (strcmp(host, server_real_name) != 0);
  2108.  
  2109.     if (use_nntp) {
  2110.       freeobj(news_active);
  2111.   --- 759,765 ----
  2112.     strncpy(host, (gethostbyname(host))->h_name, sizeof host);
  2113.  
  2114.     server_real_name = (gethostbyname(nntp_server))->h_name;
  2115.   !     use_nntp = 1;
  2116.  
  2117.     if (use_nntp) {
  2118.       freeobj(news_active);
  2119.  
  2120. Local Variables:
  2121. mode: outline
  2122. outline-regexp: "^Subject:"
  2123. fill-prefix: "  "
  2124. End:
  2125.